package com.cencat.route;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * 路由模块启动类
 * 
 * @author cencat
 * @version 1.0
 * @since 2024-12-19
 */
@SpringBootApplication
@MapperScan("com.cencat.route.mapper")
@ComponentScan(basePackages = {"com.cencat.route", "com.cencat.common"})
public class RouteApplication {

    public static void main(String[] args) {
        SpringApplication.run(RouteApplication.class, args);
        System.out.println("\n" +
                "   ____          ____      _     ____             _       
" +
                "  / ___|___ _ _ / ___|__ _| |_  |  _ \ ___  _   _| |_ ___ 
" +
                " | |   / _ \ '_ \\ |   / _` | __| | |_) / _ \| | | | __/ _ \
" +
                " | |__|  __/ | | | |__| (_| | |_  |  _ < (_) | |_| | ||  __/
" +
                "  \____\___|_| |_|\____\__,_|\__| |_| \_\___/ \__,_|\__\___|
" +
                "\n" +
                ":: CenCat Route Service Started Successfully ::\n");
    }
}